﻿using Architeture.Domain;
using Architeture.Domain.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain.Service
{
    public interface IGoodService
    {
        Task<GoodsPagedto> GetGoodsInfo(int pageindex, int pagesize, string? gname, string? BPtion, int? ShelfLife, string? PL, string? EPtion);
        Task<int> GoodsInfoDel(List<int> ids);
        Task<GoodsInfo> SetGoods(int id);
        Task<int> GoodsAdd(GoodsInfo a);
        Task<int> GoodsUpd(GoodsInfo a);
       
    }
}
